//
//  TextFiledsAndLabelsView.m
//  MyReportForiPhone
//
//  Created by 高博昆 on 15/2/12.
//  Copyright (c) 2015年 DL. All rights reserved.
//

#import "LineView.h"

@interface LineView()
@property (nonatomic, strong) UIColor *myColor;
@end

@implementation LineView

- (instancetype)initWithFrame:(CGRect)frame andColor:(UIColor *)color{
    if (self = [super initWithFrame:frame]) {
        _myColor = color;
        [self setNeedsDisplay];
    }
    return self;
}

- (void)drawRect:(CGRect)rect {
    
    [_myColor setFill];
    UIRectFill(rect);
   
}


@end
